#ifndef EDITOR_H
#define EDITOR_H

#include "abstract.h"
#include "../../model/level.h"

// dont change them, used in level::saveFile()
#define NEW 0
#define EDIT 1

class EditorScreen:public AbstractScreen
{
	private:
		int editorMode;
		int instruction;
		Level level;

		void cin(int mode);
	public:
		EditorScreen();

		void display(void);
		void keyboard(unsigned char key,int x, int y);
		void keyboardUp(unsigned char key,int x, int y);
		void specialUp(int key,int x, int y);
		void special(int key,int x, int y);
		void mouse(int button, int state,int x, int y);
		void motion(int x, int y);
		void passiveMotion(int x, int y);

		void setEnvironment(int mode, string path);
};

#endif //EDITOR_H
